<scp>Katana</scp> : Dual Slicing Based Context for Learning Bug Fixes
نویسندگان
چکیده
Contextual information plays a vital role for software developers when understanding and fixing bug. Consequently, deep learning based program repair techniques leverage context bug fixes. However, existing treat in an arbitrary manner, by extracting code close proximity of the buggy statement within enclosing file, class, or method, without any analysis to find actual relations with To reduce noise, they use predefined maximum limit on number tokens be used as context. We present slicing approach, which instead arbitrarily including context, we analyze statements that have control data dependency statement. propose novel concept called dual , leverages both fixed versions capture relevant ingredients. our technique tool Katana first apply slicing-based task. The results show effectively preserves sufficient model choose contextual while reducing noise. compare against four recent state-of-the-art context-aware techniques. Our fixes between 1.5 3.7 times more bugs than
منابع مشابه
Bug Inducing Analysis to Prevent Fault Prone Bug Fixes
Bug fix is an important and challenging task in software development and maintenance. Bug fix is also a dangerous change, because it might induce new bugs. It is difficult to decide whether a bug fix is safe in practice. In this paper, we conducted an empirical study on bug inducing analysis to discover the types and features of fault prone bug fixes. We use a classical algorithm to track the l...
متن کاملBug Fixes vs . Re - opened Bugs
A typical bug fixing cycle involves the reporting of a bug, the triaging of the report, the production and verification of a fix, and the closing of the bug. However, previous work has studied two phenomena where more than one fix are associated with the same bug report. The first one is the case where developers re-open a previously fixed bug in the bug repository (sometimes even multiple time...
متن کاملEvolutionary Learning Strategy using Bug-Based Search
We introduce a new approach to GA (Genetic Algorithms) based problem solving. Earlier GAs did not contain local search (i.e. hill climbing) mechanisms, which led to optimization difficulties, especially in higher dimensions. To overcome such difficulties, we introduce a "bug-based" search strategy, and implement a system called BUGS2. The ideas behind this new approach are derived from biologic...
متن کاملAn Empirical Study of Security Requirements in Planning Bug Fixes for an Open Source Software Project
it is often difficult to estimate the resources needed to plan for bug fixing activities in software development projects. Security bug fixes are commonly implemented as patches in response to emergent common vulnerability and exposure (CVE) reports. In this paper we investigate how to plan for bug fixing, and whether security related bug fixes are different from other bugs. In a preprocessing ...
متن کاملAnalysis of Bug Fixing Processes Using Program Slicing Metrics
This paper is a report of a feasibility study into an alternative assessment of software processes at the micro-level. Using the novel approach of applying program slicing metrics to identify bug characteristics, the research studied relationships between bug characteristics and their bug fixing processes. The results suggested that specific characteristics such as cyclomatic complexity may rel...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: ACM Transactions on Software Engineering and Methodology
سال: 2023
ISSN: ['1049-331X', '1557-7392']
DOI: https://doi.org/10.1145/3579640